function d=distance_metric(set1,set2)
    weights;
    % distance for the top lid
    % distance for the bottom lid
end